// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
myHtmlSettings = {
    nameSpace: "html", // Useful to prevent multi-instances CSS conflict
    onShiftEnter: {keepDefault: false, replaceWith: '<br />\n'},
    onCtrlEnter: {keepDefault: false, openWith: '\n<p>', closeWith: '</p>\n'},
    onTab: {keepDefault: false, openWith: '     '},
    markupSet: [
        {name: 'Bold', key: 'B', openWith: '<strong>', closeWith: '</strong>'},
        {name: 'Italic', key: 'I', openWith: '<em>', closeWith: '</em>'},
        {name: 'Stroke through', key: 'S', openWith: '<del>', closeWith: '</del>'},
        {separator: '---------------'},
        {name: 'Ul', openWith: '<ul>\n', closeWith: '</ul>\n'},
        {name: 'Ol', openWith: '<ol>\n', closeWith: '</ol>\n'},
        {name: 'Li', openWith: '<li>', closeWith: '</li>'},
        {separator: '---------------'},
        {name: 'Picture', key: 'P', replaceWith: '<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />'},
        {name: 'Link', key: 'L', openWith: '<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith: '</a>', placeHolder: 'Your text to link...'},
        {separator: '---------------'},
        {name: 'Clean', replaceWith: function(h) {
                return h.selection.replace(/<(.*?)>/g, "")
            }},
        {name: 'Preview', call: 'preview', className: 'preview'}
    ]
}
